﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AvansRS.Domain;
using FluentNHibernate.Mapping;

namespace AvansRS.Data.Mapping
{
    public class RegistrationMap : ClassMap<Registration>
    {
        public RegistrationMap()
        {
            Id(x => x.ID);

            References(x => x.Entity)
                .Not.LazyLoad();

            References(x => x.TimeBlock)
                .Not.LazyLoad();

            References(x => x.EventDate);
        }
    }
}
